package com.pan.tools;


import org.springframework.stereotype.Component;

import java.util.UUID;

public class UUIDTools {

    public static String getUUID(){
        return String.valueOf(UUID.randomUUID()).replace("-","");

    }
    public static String[] getUUID(int count){
        String[] uuids = new String[count];
        while (--count >= 0) {
            uuids[count] = getUUID();
        }
        return uuids;
    }


}
